package com.tanhua.model.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//语音列表
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "peachblossomaudio")
public class PeachBlossomAudio  implements Serializable {

    private ObjectId id; //主键id
    private Long created; //创建时间
    private Long userId; //发送人id
    private int tag=0; //是否被人获取 0未被获取,  1被获取,只有该字段为0的会被人获取 一条语音仅被一人获取
    private String audioUrl; //语音文件，URL

}
